<?php
class BookViewModel extends ViewModel
{
	public $viewFields = array(
     'Book' => array('bid','author','imageurl','code','title','uploadtime','publish','publishurl','uid','status','is_hot','is_open','point','downscore','cateid','is_dele','_type'=>'LEFT'),
     'User' => array('username','nickname','_on'=>'Book.uid = User.uid')
    );
}
?>